//
//  ZJBaseViewController.h
//  zijinlian
//
//  Created by lzy on 2017/3/6.
//  Copyright © 2017年 lzy. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ZJloadView.h"
#import "MBProgressHUD.h"
#import "ZJBaseAFManager.h"

@interface ZJBaseViewController : UIViewController
@property(nonatomic,strong)ZJloadView*  zj_loadView;
@property(nonatomic,strong) MBProgressHUD* hud;
@property(nonatomic,strong) UIImageView* saveImg;
@property(nonatomic,strong) UIView* shadowView;
@property (nonatomic ,strong)UIView *tempView;
@property(nonatomic,assign) BOOL isShowDiag;
@property(nonatomic,assign)int binkOrg;


-(void)showTempView:(NSString *)title Image:(NSString *)imageName CGFrame:(CGRect)frame;
-(void)showWishTempView:(NSString *)title Image:(NSString *)imageName CGFrame:(CGRect)frame;
-(void)doOpeartion;
-(void)createView;
-(void)doRequest;
-(void)initTitle:(NSString*)title;
-(void)doHttpRequestWithApi:(NSString*)api method:(HTTPMethod)method dic:(NSMutableDictionary*)dic successBlock:(requestSuccessBlock)block;
-(void)showMessage:(NSString *)info;
-(void)doKeyBoardDown;
-(void)showToast:(NSString*)msg;
-(void)showNav;
-(void)showDialog;
-(void)dismissDialog;
-(void)creatNavUI;
-(void)saveImage:(UIImageView *)imag;
-(void)showShadow;
-(void)disShadow;
//-(void)ContactCustomerService:(NSString *)string;
-(void)exditView;
-(void)popToLastController:(CGFloat)time;
- (NSString *)timeWithTimeIntervalString:(NSString *)timeString;
- (BOOL) deptNumInputShouldNumber:(NSString *)str;
- (NSAttributedString*)messageAction:(UILabel *)theLab changeString:(NSString *)change andAllColor:(UIColor *)allColor andMarkColor:(UIColor *)markColor andMarkFondSize:(float)fontSize;
//判断是否有空格
- (BOOL) isEmpty:(NSString *) str ;

-(void)showLoad;
-(void)hidLoad;

@end
